<div class="title"> Complaints->Recently Arrived</div>
<p align="center">
    <label for="category">Choose Category:</label>
    <select   name="category" id="category" title="category">
        <option selected="" value="">- Select One -</option>
        <?php
        foreach ($category as $e)
            echo "<option value='$e->category'>" . $e->category . '</option>';
        ?>
    </select>
</p>
<table cellspacing="0" cellpadding="0" border="0" summary="Comparison chart for Groundswell Boards" id="boardCompare" >


    <thead>
        <tr>

            <th>Application ID</th>
            <th>Date of Apply</th>
            <th>Fault Title</th>
        </tr>
    </thead>
    <tbody>

    </tbody>
</table>
<div align="center" id="ajaxload">
    <img src="<?php echo base_url(); ?>images/ajaxload.gif" ></img>
</div>
<div class="detail" >
    <div style="margin-bottom: 20px;margin-left: 20px ">
    </div>
    <div class="process">
        <?php echo form_open('de/complain_reject'); ?>
        <input type="submit" value="Reject" name="reject" /><br/>
        <?php echo form_close(); ?>

        <?php echo form_open('de/complain_assign_sde'); ?>
        Assign Sub Divisional Engineer :
        <select name="sde">
            <option selected="" value="">-Select SDE-</option>
            <?php
            foreach ($sde as $e)
                echo "<option value=$e->id title=$e->name>" . $e->name . '</option>';
            ?>
        </select>
        <input type="submit" value="Assign" />
        <?php echo form_close(); ?>
    </div>
</div>